package com.yaorange.mapper;

import com.yaorange.entity.Article;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ArticleMapper extends Mapper<Article> {

    List<Article> selectAllArticle();

    List<Article> selectAllArticleByCondition(@Param("goodsName") String goodsName, @Param("typeId") Integer typeId);

    Article selectWindowData(Integer articleId);
}
